// $Id$
// Licensed under Apache License Version 2.0
// See: http://www.apache.org/licenses/LICENSE-2.0.html
package de.servicezombie.pub.r1;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "subscription", namespace = XmlNamespaces.SERVICEZOMBIE_COMMON)
public class Subscription {

	@XmlElement
	private String materialNo;
	
	@XmlElement
	private SubscriptionStatus status;

	public void setStatus(SubscriptionStatus subscriptionStatus) {
		this.status = subscriptionStatus;
	}

	public SubscriptionStatus getStatus() {
		return status;
	}

	public void setMaterialNo(String materialNo) {
		this.materialNo = materialNo;
	}

	public String getMaterialNo() {
		return materialNo;
	}
}
